// AI Helicopter configuration files
// by Holger Sandmann (hsandman@sfu.ca) 
// and Doug Callihan
// 
// Version 1, May 2003
//
// for Aerospatiale/Eurocopter AS365N3 Dauphin GMax
// by Antti Pankkonen, apankkon@cc.hut.fi
//
// based on Stemme motor glider aircraft.cfg
// by Al Kaiser, kaiser@va-works.com or http://www.va-works.com/
//
// !!!Copyright remains with the original authors!!!

[fltsim.0]
title=MHAI AS65 HCG
sim=stemme_as_helicopter_2
model=
panel=
sound=
texture=HCG
atc_id=CH35
atc_model=AS 365
Atc_airline=COAST GUARD
ui_manufacturer=Eurocopter
ui_type=AS 365 N3 Dauphin
ui_variation=Hellenic Coast Guard
prop_anim_ratio=1.41
description=The AS 365 is a medium-weight multipurpose twin-engine helicopter. In addition to technological innovations (main and rear rotor blades made of composite materials, tail rotor built in the fin...), the reliability and availability of this helicopter are highly valued worldwide. The AS 365 N3 is equipped with two Turbomeca Arriel 2C engines which offer remarkable performance. This engine is equipped with an Full Authority Digital Electronic Control (FADEC). 
atc_parking_codes=AS65,M004
atc_parking_types=RAMP

[General]
atc_type=Aerospatiale
atc_model=AS365
performance=Cruise Speed	149 kts @ 3750 kg\nMaximum Range	483 nm @ 3750 kg\nService Ceiling	>15 000 ft\nHovering Ceiling	10 203 ft, O.G.E.\nMax Gross Weight   4300 kg\nHook Load Limit 	1600  kg\nSeating		1-2 pilots + 11 passengers\nUseful Load	1944 kg



//---- misc tweaked parameters 

[WEIGHT_AND_BALANCE]
reference_datum_position=0.000000,0.000000,0.000000
empty_weight_CG_position= 0.000,0.000,-2.000
max_number_of_stations=50
station_load.0=0.000000,0.000000,0.000000,0.000000

max_gross_weight=2300	// (pounds)
empty_weight=1300

;Moments of Inertia
empty_weight_pitch_MOI=3000
empty_weight_roll_MOI=4000
empty_weight_yaw_MOI=9000
empty_weight_coupled_MOI=-1000

CG_forward_limit=0.000
CG_aft_limit=1.000

[Reference Speeds]
flaps_up_stall_speed=30
full_flaps_stall_speed=27
cruise_speed=115
max_indicated_speed=180.000000

[flight_tuning]
cruise_lift_scalar=1.25 		// was 1.15
parasite_drag_scalar=0.8 		// was 0.8
induced_drag_scalar=0.8 		// was 0.8
elevator_effectiveness=1.5 		// was 1.0
aileron_effectiveness=1.0 
rudder_effectiveness=2.0   		// was 1.5
pitch_stability=1.0 
roll_stability=1.0
yaw_stability=1.0
elevator_trim_effectiveness=1.0
aileron_trim_effectiveness=1.0
rudder_trim_effectiveness=1.9	 	// was 1.0

[flaps.0]       		//Trailing Edge Flaps
type=1          		// 1 - tail, 2 - lead
span-outboard=0.600   	// 0.0 .. 1.0
extending-time=4.000  	// seconds
flaps-position.0=0    	// degrees
flaps-position.1=0   	// degrees           
flaps-position.2=20  	// degrees           
flaps-position.3=30	// degrees
damaging-speed=200   	// KIAS       
blowout-speed=250    	// KIAS
lift_scalar=1.3	 
drag_scalar=0.8
pitch_scalar=1.2
system_type=0        	//0=Electric, 1=Hydraulic, 2=Pneumatic, 3=Manual, 4=None



//---- parameters from AS365 Dauphin, tweaked

//0  Class                        <0=none,1=wheel, 2=scrape, 3=skid>
//1  Longitudinal Position        (feet)
//2  Lateral Position             (feet)
//3  Vertical Position            (feet)
//4  Impact Damage Threshold      (Feet Per Minute)
//5  Brake Map                    (0=None, 1=Left, 2=Right)
//6  Wheel Radius                 (feet)
//7  Steer Angle                  (degrees)
//8  Static Compression           (feet)  (0 if rigid)
//9  Max/Static Compression Ratio
//10 Damping Ratio                (0=Undamped, 1=Critically Damped)
//11 Extension Time               (seconds)
//12 Retraction Time              (seconds)
//13 Sound Type
//14 Airspeed limit for retraction     (KIAS)
//15 Airspeed that gear gets damage at (KIAS)

[contact_points]
//point.0=1, -21.2, 0.0,   -0.4,  3500.0, 0.0, 0.0,   0.0,  0.0,	   0.0,  0.0,      0.0, 0.0,  0
point.0=1,  9.25, 0.0,   -2.56, 3378.0, 0.0, 0.984, 90.0, 0.96,     1.25, 1.260614, 1.0,	1.0,  0
point.1=1, -3.0, -3.33,  -3.38, 3378.0, 1.0, 1.148, 0.0,  0.86,     1.35, 1.416001, 1.5, 1.5,  2
point.2=1, -3.0,  3.33,  -3.38, 3378.0, 2.0, 1.148, 0.0,  0.86,     1.35, 1.416001, 1.5,	1.5,  3
//point.1=1,  9.25, 0.0,   -2.56, 3378.0, 0.0, 0.984, 90.0, 0.96,     1.25, 0.226892, 1.0,	1.0,  0
//point.2=1, -3.0, -3.33,  -3.38, 3378.0, 1.0, 1.148, 0.0,  0.86,     1.35, 0.329804, 1.5, 1.5,  2
//point.3=1, -3.0,  3.33,  -3.38, 3378.0, 2.0, 1.148, 0.0,  0.86,     1.35, 0.329804, 1.5,	1.5,  3
//point.4=2,  11.0, 0.0,    1.0,  1000.0, 0.0, 0.0,   0.0,  0.0,      0.0,  0.0,      0.0, 0.0,  4
//point.5=2, -22.0, 0.0,    1.5,  1000.0, 0.0, 0.0,   0.0,  0.0,      0.0,  0.0,      0.0, 0.0,  9
//point.6=2,  0.0, -19.0,   7.3,  0.0,    0.0, 0.0,   0.0,  0.0,      0.0,  0.0,      0.0, 0.0,  5
//point.7=2,  0.0,  19.0,   7.3,  0.0,    0.0, 0.0,   0.0,  0.0,      0.0,  0.0,      0.0, 0.0,  6

static_pitch=-5.000000
static_cg_height=2.294003
gear_system_type=3

[Views]
eyepoint=-0.72,1.4,3.2

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit
light.0=3,   -16.6, -5.30,  0.90,  fx_navred ,
light.1=3,   -16.6,  5.30,  0.90,  fx_navgre ,
light.2=3,   -25.4,  0.00,  0.90,  fx_navwhi ,
light.3=1,   -24.2, -0.20,  9.30,  fx_beacon ,
light.4=4,    1.00, -1.00,  1.50,  fx_vclight ,
light.5=4,   -4.50,  0.00,  1.30,  fx_vclight ,
light.6=4,    1.00,  1.00,  1.50,  fx_vclight ,

[effects]
water=fx_spray
dirt = fx_tchdrt
concrete = fx_tchdrt, 1
touchdown = fx_dustcloud_m, 1
startup=fx_engstrt

//touchdown = fx_tchdwn, 1
//landrotorwash = fx_rtr_lnd
//waterrotorwash = fx_rtr_wtr



//---- parameters from Stemme motor glider, tweaked

[fuel]
LeftMain=-0.250000,-2.100000,2.500000,6.000000,0.000000
RightMain=-0.250000,2.100000,2.500000,6.000000,0.000000
fuel_type=1.000000
number_of_tank_selectors=1
electric_pump=1

[airplane_geometry]
wing_area=400				// was 201.0
wing_span=60				// was 57.0
wing_root_chord=4.916670
wing_dihedral=3.499146
wing_incidence=4.999268 		// was 2.999268
wing_twist=-1.994019
oswald_efficiency_factor=.448140	// was 1.064814  
wing_winglets_flag=0
wing_sweep=0.000000
wing_pos_apex_lon=1.229000
wing_pos_apex_vert=0.000000
htail_area=16.000000
htail_span=7.916667
htail_pos_lon=-16.083333
htail_pos_vert=0.000000
htail_incidence=0.000000
htail_sweep=0.000000
vtail_area=16.000000
vtail_span=4.560702
vtail_sweep=0.000000
vtail_pos_lon=-14.750000
vtail_pos_vert=4.166667
elevator_area=15.000000
aileron_area=11.740000
rudder_area=6.000000
elevator_up_limit=30.0		 	// was 25.000447
elevator_down_limit=18.998903
aileron_up_limit=17.996227
aileron_down_limit=13.000035
rudder_limit=20.995472
elevator_trim_limit=10.0 		// was 19.497754 
spoiler_limit=70
spoilerons_available=1			// was 0
aileron_to_spoileron_gain=0.0005	// was 0
min_ailerons_for_spoilerons=0.005	// was 0
min_flaps_for_spoilerons=0.005	// was 0

[GeneralEngineData]
engine_type=0
Engine.0=8.3
Engine.1=8.3 // 'dummy' for tail rotor
fuel_flow_scalar=1.00
min_throttle_limit=0.000000

[piston_engine]
power_scalar=1.0                    //Piston power scalar
cylinder_displacement=100.300000
compression_ratio=6.0
number_of_cylinders=6			// was 2
max_rated_rpm=3500			// was 2700
max_rated_hp=100.0 			// was 115
fuel_metering_type=1
cooling_type=0				// was 1
normalized_starter_torque=0.3
turbocharged=0
max_design_mp=0.0
min_design_mp=0.0
critical_altitude=0.0
emergency_boost_type=0
emergency_boost_mp_offset=0.000000
emergency_boost_gain_offset=0.000000
fuel_air_auto_mixture=0
auto_ignition=0
max_rpm_mechanical_efficiency_scalar=1.000000
idle_rpm_mechanical_efficiency_scalar=1.000000
max_rpm_friction_scalar=1.000000
idle_rpm_friction_scalar=1.000000

[propeller]
thrust_scalar=1.0   			// Propeller thrust scalar
propeller_type=2				// was 0
propeller_diameter=8.000		// was 5.433000
propeller_blades=2
propeller_moi=20.50000			// was 3.350000
beta_max=29.800000
beta_min=4.000000				// was 17.000000 
min_gov_rpm=50.000000			// was 700.000000
prop_tc=0.4					// was 0.004000
gear_reduction_ratio=1.10		// was 1.0
fixed_pitch_beta=0
low_speed_theory_limit=80.000000
prop_sync_available=0
prop_deice_available=0
prop_feathering_available=1
prop_auto_feathering_available=0
min_rpm_for_feather=0
beta_feather=90.0
power_absorbed_cf=0.0
defeathering_accumulators_available=0	// was 1
prop_reverse_available=1			// was 0
minimum_on_ground_beta=2.0			// was 0
minimum_reverse_beta=0.000000

[keyboard_response]
elevator=100.000000,180.000000
aileron=200.000000,1000.000000
rudder=200.000000,1000.000000

[autopilot]
autopilot_available=1
flight_director_available=0
default_vertical_speed=500.000000		// was 700
autothrottle_available=0
pitch_takeoff_ga=-5.00				// was 8.0
max_pitch=10.000000
max_pitch_acceleration=1.000000
max_pitch_velocity_lo_alt=2.000000
max_pitch_velocity_hi_alt=1.500000
max_pitch_velocity_lo_alt_breakpoint=20000.000000
max_pitch_velocity_hi_alt_breakpoint=28000.000000
max_bank=25.000000
max_bank_acceleration=1.800000
max_bank_velocity=3.000000
max_throttle_rate=0.100000
nav_proportional_control=9.000000
nav_integrator_control=0.250000
nav_derivative_control=0.000000
nav_integrator_boundary=2.500000
nav_derivative_boundary=0.000000
gs_proportional_control=9.520000
gs_integrator_control=0.260000
gs_derivative_control=0.000000
gs_integrator_boundary=0.700000
gs_derivative_boundary=0.000000
yaw_damper_gain=0.000000

[direction_indicators]
direction_indicator.0=1,0

[brakes]
toe_brakes_scale=1.000000
parking_brake=1
[gear_warning_system]
gear_warning_available=0
pct_throttle_limit=0.099976
flap_limit_power=15.996982
flap_limit_idle=0.000000
[hydraulic_system]
normal_pressure=0.000000
[stall_warning]
type=0
[attitude_indicators]
attitude_indicator.0=1
[turn_indicators]
turn_indicator.0=1,0